<template>
    <div></div>
</template>
<script>
export default {
    data () {
        return {

        }
    },
    created () {
        let gid = this.$route.query.gid || ''
        let storeId = this.$route.query.storeId || ''
        if (this.$route.query.type === 'gqActivity') {
            if (gid && storeId) {
                this.$router.push({ path: '/gqActivity', query: { gid: gid, storeId: storeId } })
            } else {
                this.$router.push('/gqActivity')
            }
            return false
        } else if (this.$route.query.type === 'tyActivity') {
            this.$router.push('/tyActivity')
            if (gid && storeId) {
                this.$router.push({ path: '/tyActivity', query: { gid: gid, storeId: storeId } })
            } else {
                this.$router.push('/tyActivity')
            }
            return false
        } else {
            this.$router.push('/tyActivity')
            if (gid && storeId) {
                this.$router.push({ path: '/tyActivity', query: { gid: gid, storeId: storeId } })
            } else {
                this.$router.push('/tyActivity')
            }
            return false
        }
    },
}
</script>
